package com.sec.demo01;

public class Text01 {
    public static void main(String[] args) {
        /**
         * 获取cpu核数
         */
        System.out.println(Runtime.getRuntime().availableProcessors());
    }

}
